package com.shanshan.manage.web.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shanshan.manage.common.annotation.Excel;
import com.shanshan.manage.common.core.domain.BaseEntity;

/**
 * 库存管理对象 a_inventory
 * 
 * @author zhaoshuheng
 * @date 2023-09-04
 */
@Data
public class AInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存id */
    private Long inventoryId;

    /** 报关单id */
    @Excel(name = "报关单id")
    private Long customsId;

    /** 船名 */
    @Excel(name = "船名")
    private String shipName;

    /** 航次 */
    @Excel(name = "航次")
    private String flight;

    /** 件数 */
    @Excel(name = "件数")
    private String pieces;
    private String billLadingNum;

    /** 毛重 */
    @Excel(name = "毛重")
    private Double grossWeight;
    private Double lowGrossWeight;

    /** 净重 */
    @Excel(name = "净重")
    private Double netWeight;
    private Double lowNetWeight;

    /** 余量 */
    @Excel(name = "余量")
    private String surplus;

    /** 保税核注清单号 */
    @Excel(name = "保税核注清单号")
    private String inventoryNum;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inventoryId", getInventoryId())
            .append("customsId", getCustomsId())
            .append("shipName", getShipName())
            .append("flight", getFlight())
            .append("pieces", getPieces())
            .append("grossWeight", getGrossWeight())
            .append("netWeight", getNetWeight())
            .append("surplus", getSurplus())
            .append("inventoryNum", getInventoryNum())
            .toString();
    }
}
